<!--{template web/header.html}-->        
        <div class="block clearfix">
            <div class="layout_2">
                <div class="layout_left">
                    <div class="article_search">
                        <div class="lib_top">文章检索</div>
                        <div class="lib_mid">
                            <form action="{APP_URL}/index.php/{$m}/{$p}/cat_id/{$cat_id}.shtml" name="search_form" method="post">
                                <input name="search_title" type="text" id="requirement" value="{$search_title}" class="txt_style_1" size="18" />
                                <input type="submit" value="立即搜索" class="btn_style_1" />
                            </form>
                        </div>
                        <div class="lib_down"></div>
                    </div>
                    <div class="blank"></div>

                    <div class="cate_tree">
                        <div class="lib_top">{$category_list[$root_id]['name']}</div>
                            <div class="lib_mid">
                                {loop $category_tree[1]['children'][$root_id]['children'] $k $v}
                                <dl>
                                    <dt{if $cat_id == $k } class="cur"{/if}><a href="{echo $v['link']!='' ? $v['link'] : APP_URL.'/index.php/'.$v['module'].'/'.$v['page'].'/cat_id/'.$k.$v['parameter'].'.shtml'}">{$v['name']}</a></dt>
                                    {loop $v['children'] $l1_id $l1}
                                    <dd{if $cat_id == $l1_id} class="cur"{/if}><a href="{echo $l1['link']!='' ? $l1['link'] : APP_URL.'/index.php/'.$v['module'].'/'.$v['page'].'/cat_id/'.$l1_id.$l1['parameter'].'.shtml'}">{$l1['name']}</a></dd>
                                        {loop $l1['children'] $l2_id $l2}
                                        <dd class="Leve_2{if $cat_id == $l2_id} cur{/if}"><a href="{echo $l2['link']!='' ? $l2['link'] : APP_URL.'/index.php/'.$v['module'].'/'.$v['page'].'/cat_id/'.$l2_id.$l2['parameter'].'.shtml'}">{$l2['name']}</a></dd>
                                        {/loop}
                                    {/loop}
                                </dl>
                                {/loop}
                            </div>
                        <div class="lib_down"></div>
                    </div>
                    <div class="blank"></div>

                </div>

                <div class="layout_right">
                    <div class="shop_right_lib_comm">
                        <div class="article_list">
                            <div class="innerbox clearfix list">
                                <table width="100%" border="0" cellpadding="8" cellspacing="0" class="listtable">
                                    <tr>
                                        <th bgcolor="#ffffff" height="20" width="60%">文章标题</th>
                                        <th bgcolor="#ffffff">作者</th>
                                        <th bgcolor="#ffffff">添加日期</th>
                                    </tr>
                                    {loop $data $k $v}
                                    <tr onMouseMove="this.style.backgroundColor='#f0f0f0'" onMouseOut="this.style.backgroundColor = ''">
                                        <td><div class="article_name"><a href="{APP_URL}{echo $v['status'] == 'GENERATED' ? $v['url'] : '/index.php/article/detail/article_id/'.$v['id'].'.shtml'}" title="{$v['summary']}">{echo mb_substr($v['title'],0,30,'utf-8')}</a></div></td>
                                        <td>{echo mb_substr($v['author'],0,10,'utf-8')}</td>
                                        <td>{echo date('Y-m-d',$v['create_time'])}</td>
                                    </tr>
                                    {/loop}
                                </table>               
                            </div>   
                        </div>         
                    </div>
                    <!--{template web/pager.html}-->
                </div>
            </div>
<!--{template web/footer.html}-->